/*  ** ** ** ** ** ** ** ** ** ** ** ** ** ** ** ** ** ** ** ** ** ** ** ** ** 
*   Copyright 2014 Jan-Marwin Wollschläger                                   *
*                                                                            *
*   Licensed under the Apache License, Version 2.0 (the "License");          *
*   you may not use this file except in compliance with the License.         *
*   You may obtain a copy of the License at                                  *
*                                                                            *
*       http://www.apache.org/licenses/LICENSE-2.0                           *
*                                                                            *
*   Unless required by applicable law or agreed to in writing, software      *
*   distributed under the License is distributed on an "AS IS" BASIS,        *
*   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. *
*   See the License for the specific language governing permissions and      *
*   limitations under the License.                                           *
** ** ** ** ** ** ** ** ** ** ** ** ** ** ** ** ** ** ** ** ** ** ** ** **   */ 


/**
 * The interface all Bonds should confer to.
 *
 * @author Jan-Marwin Wollschläger
 * @version 0.1
 **/
public interface IBond {
   /**
   * @return  Returns the first atom of this bond as IAtom.
   */
   public IAtom getFirstAtom();
   
   /**
   * @return  Returns the second atom of this bond as IAtom.
   */
   public IAtom getSecondAtom(); 
   
   /**
   * @return Returns the bond order as int.
   */
   public int getOrder();
   
   /**
   * Sets the bond order for this instance.
   * @param int bondOrder - The new bond order for this instance.
   **/
   public void setOrder(int bondOrder);
}

